package mysql

import "gorm.io/gorm"

type Product struct {
	gorm.Model
	Title string  `gorm:"type:varchar(30)" json:"title"`
	Price float64 `gorm:"type:decimal(10,2)" json:"price"`
	Stock int64   `gorm:"type:int(11)" json:"stock"`
	Sales int64   `gorm:"type:int(11)" json:"sales"`
	Image string  `gorm:"type:varchar(255)" json:"image"`
}
